<%@ page language="java"  pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>权限添加</title>
  </head>
  <body>
    <h5 align="center">添加权限</h5>
     <table align="center" border="1" width="30%">
   <center>
    <form action="../right" >
        <input type="hidden" name="action" value="add"/>
        <tr>
       <td align="right">分栏名称：</td>
            <td>
           <select name="rightColumnID"   headerKey="1" headerValue="--请选择--">
               <c:forEach items="${sessionScope.allRightColumn}" var="rightColumn" varStatus="st">
                     <option value="${rightColumn.id}" selected>${rightColumn.rightColumnName}</option>
               </c:forEach>
       </select>
            </td>
        </tr>

        <tr>
             <td align="right">权限名称：</td>
              <td><input type="text" name="rightName" /></td>
        </tr>
        <tr>
           <td align="right">权限描述：</td>
            <td><textarea name="rightDesc"  rows="5" cols="30" ></textarea> </td>
        </tr>
       <tr>
           <td align="right">权限链接：</td>
           <td><input type="text" name="url" /></td>
       </tr>
     <tr>
      <td colspan="2" align="center">&nbsp;
         <input type="submit"    value="保存"/>
          <input type="reset"     value="重置"/>
      </td>
     </tr>
    
    
    </form>
  </center>
    </table>
  </body>
</html>
